package com.htht.smartschool.model.attendance;

import java.io.Serializable;

import com.htht.smartschool.common.model.Entity;
import com.htht.smartschool.model.teacher.TClass;

/**
 * TAttendance entity. @author MyEclipse Persistence Tools
 */

public class TAttendance extends Entity implements Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String studentcode;
	private String classcode;
	private String type;//正常1、请假2、迟到3、异常
	private Long time;
	private int timetype;
	private String remark;
	private String studentname;
	private String isdownload;
	private TClass classinfo;
	// Constructors

	/** default constructor */
	public TAttendance() {
	}

	/** full constructor */
	public TAttendance(String studentcode, String classcode, String type,
			Long time,String remark,String isdownload) {
		this.studentcode = studentcode;
		this.classcode = classcode;
		this.type = type;
		this.time = time;
		this.remark = remark;
		this.isdownload = isdownload;
	}

	// Property accessors
	
	public String getStudentcode() {
		return this.studentcode;
	}

	public String getIsdownload() {
		return isdownload;
	}

	public void setIsdownload(String isdownload) {
		this.isdownload = isdownload;
	}

	public void setStudentcode(String studentcode) {
		this.studentcode = studentcode;
	}

	public String getClasscode() {
		return this.classcode;
	}

	public void setClasscode(String classcode) {
		this.classcode = classcode;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getTime() {
		return this.time;
	}

	public void setTime(Long time) {
		this.time = time;
	}

	public Integer getTimetype() {
		return this.timetype;
	}

	public void setTimetype(Integer timetype) {
		this.timetype = timetype;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getStudentname() {
		return studentname;
	}

	public void setStudentname(String studentname) {
		this.studentname = studentname;
	}

	public TClass getClassinfo() {
		return classinfo;
	}

	public void setClassinfo(TClass classinfo) {
		this.classinfo = classinfo;
	}

}